package com.zyz.bookborrowing.service;

import com.zyz.bookborrowing.bean.User;

import java.util.List;

public interface IUserService {

    public List<User> getUser(User user);

    public Integer addUser(User user);

    public Integer deleteById(Integer id);

    public User queryById(Integer id);

    public Integer updateUser(User user);

    public String checkUserName(String userName);


    public User checkUserNP(String username, String password);
}
